import Vue from 'vue'
import Router from 'vue-router'
import VideoUpload from '@/components/VideoUpload'
import VideoPlay from '@/components/VideoPlay'
import VideoPlayAll from '@/components/VideoPlayAll'
import VideoPlayMerge from '@/components/VideoPlayMerge'
import VideoUploadSplit from '@/components/VideoUploadSplit'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'VideoUpload',
      component: VideoUpload
    },
    {
      path: '/play',
      name: 'VideoPlay',
      component: VideoPlay
    },
    {
      path: '/playall',
      name: 'VideoPlayAll',
      component: VideoPlayAll
    },
    {
      path: '/playmerge',
      name: 'VideoPlayMerge',
      component: VideoPlayMerge
    },
    {
      path: '/uploadsplit',
      name: 'VideoUploadSplit',
      component: VideoUploadSplit
    }
  ]
})
